typedef struct _capture_device_info_t capture_device_info_t;

#ifdef WIN32
#ifdef BUILD_CPCAP_DLL
#define EXPORT_DLL __declspec(dllexport)
#else
#define EXPORT_DLL __declspec(dllimport)
#endif
#else
#define EXPORT_DLL
#endif

class EXPORT_DLL CPCapDeviceEnumerator
{
public:
	CPCapDeviceEnumerator();
	~CPCapDeviceEnumerator();

    bool        next();
    bool        first();

    const char  *name() const;
    const char  *uid() const;


private:
    capture_device_info_t *First;
    capture_device_info_t *Current;
};
